package Lecture7;

import java.util.Arrays;

public class ClassExam5 {

	public static void main(String[] args) 
	{
		int n = 5;
		int m = 3;
		
		array(n, m);
	}

	public static String array(int n, int m)
	{
		
		int[] arr = new int [n];
		String result ="";
		
		for(int i = 0; i < arr.length; i++)
		{
			arr[i] = m;
			
		}
		for(int i = 0; i<arr.length; i++)
		{
			result += arr[i] +" ";
		}
	    System.out.println(result);
		return result;
	}
	
	
	
	
	
}
